SERVER=server
CLIENT=clinet
CC=g++
SERVER_SRC=Server.cc
CLIENT_SRC=Client.cc

.PHONY:all
all:$(SERVER) $(CLIENT)

$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^ -std=c++11

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -rf $(SERVER) $(CLIENT)